﻿namespace = east_indies

# Reforming the Indies
east_indies.2 = {
	type = country_event
	placement = ROOT

	title = east_indies.2.t
	desc = east_indies.2.d
	flavor = east_indies.2.f

	event_image = {
		video = "gfx/event_pictures/southamerica_factory_opening.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/factory_opening"

	icon = "gfx/interface/icons/event_icons/event_trade.dds"

	duration = 3

	trigger = {
	}

	immediate = {
	}

	option = {
		name = east_indies.2.a
		default_option = yes
		add_journal_entry = {
			type = je_ethical_policy
		}
		add_modifier = { # capitalist investment pool contribution
			name = indies_investment
			months = long_modifier_time
		}
	}
	option = {
		name = east_indies.2.b
		add_journal_entry = {
			type = je_ethical_policy
		}
		add_modifier = { # qualifications
			name = indies_qualified_employees
			months = long_modifier_time
		}
	}
}

# The Ethical Policy
east_indies.3 = {
	type = country_event
	placement = ROOT

	title = east_indies.3.t
	desc = east_indies.3.d
	flavor = east_indies.3.f

	event_image = {
		video = "gfx/event_pictures/middleeast_middleclass_cafe.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/middleclass_cafe"

	icon = "gfx/interface/icons/event_icons/event_scales.dds"

	duration = 3

	trigger = {
	}

	immediate = {
		root.religion = { save_scope_as = indies_religion }
	}

	option = {
		name = east_indies.3.a
		trigger = {
			has_law = law_type:law_religious_schools
		}
		# conversion
		add_modifier = {
			name = indies_conversion
			months = long_modifier_time
		}
	}
	option = {
		name = east_indies.3.b
		# migration
		add_modifier = {
			name = indies_migration
			months = long_modifier_time
		}
	}
	option = {
		name = east_indies.3.c
		default_option = yes
		# loyalists from sol
		add_modifier = {
			name = indies_loyalists
			months = long_modifier_time
		}
	}
}
